package com.javen.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.javen.dao.IChoiceQuestionDao;
import com.javen.model.ChoiceQuestion;
import com.javen.service.IChoiceQuestionService;

@Service("ChoiceQuestionService")
public class ChoiceQuestionServiceImpl implements IChoiceQuestionService {

	@Resource
	private IChoiceQuestionDao choiceQuestionDao;

	public List<ChoiceQuestion> getChoiceQuestionById(String subject) {

		// TODO Auto-generated method stub
		return this.choiceQuestionDao.selectByChoiceQuestionKey(subject);

	}

}
